package com.jyw.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

@Data
@ApiModel("修改密码请求实体")
public class UpdatePwdDto {
    @ApiModelProperty("当前密码")
    private String oldPassword;

    @ApiModelProperty("新密码")
    @Size(min = 5,message = "密码位数最小5位")
    private String newPassword;
}
